//
//  MBProgressHUD+LCHud.h
//  randomNum
//
//  Created by ChungRowe on 2021/8/11.
//

#import "MBProgressHUD.h"
@class MBProgressHUD;

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (LCHud)

typedef NS_ENUM(NSInteger, ShowHUDPointType) {
    ShowHUDPointType_Center, // 居中
    ShowHUDPointType_Bottom, // 底部
};

/**
    注：
 InWindow  InView 加载的位置
 不传递时间，就取默认时间 15秒 hideHUDTime
 
 */

// MBProgressHUDModeIndeterminate
// 活动指示器：带菊花 文字
+ (void)showActivityMessageInWindow:(NSString*)message;
+ (void)showActivityMessageInView:(NSString*)message;
+ (void)showActivityMessageInWindow:(NSString*)message timer:(int)aTimer;
+ (void)showActivityMessageInView:(NSString*)message timer:(int)aTimer;
+ (void)showActivityMessageInWindow:(NSString*)message timer:(int)aTimer pointType:(ShowHUDPointType)pointType;
+ (void)showActivityMessageInView:(NSString*)message timer:(int)aTimer pointType:(ShowHUDPointType)pointType;

// MBProgressHUDModeText
// 标签：只有文本
+ (void)showTipMessageInWindow:(NSString*)message;
+ (void)showTipMessageInView:(NSString*)message;
+ (void)showTipMessageInWindow:(NSString*)message timer:(int)aTimer;
+ (void)showTipMessageInView:(NSString*)message timer:(int)aTimer;
+ (void)showTipMessageInWindow:(NSString*)message timer:(int)aTimer pointType:(ShowHUDPointType)pointType;
+ (void)showTipMessageInView:(NSString*)message timer:(int)aTimer pointType:(ShowHUDPointType)pointType;

// MBProgressHUDModeCustomView
// 自定义试图：目前图片文字->成功、错误、信息、警告（默认window） 可以自己添加图片 默认两秒
+ (void)showSuccessMessage:(NSString *)Message;
+ (void)showErrorMessage:(NSString *)Message;
+ (void)showInfoMessage:(NSString *)Message;
+ (void)showWarnMessage:(NSString *)Message;

+ (void)showCustomIconInWindow:(NSString *)iconName message:(NSString *)message;
+ (void)showCustomIconInView:(NSString *)iconName message:(NSString *)message;

+ (void)showCustomIconInWindow:(NSString *)iconName message:(NSString *)message timer:(int)aTimer;
+ (void)showCustomIconInView:(NSString *)iconName message:(NSString *)message timer:(int)aTimer;

//typedef NS_ENUM(NSInteger, MBProgressHUDMode) {
//    /// UIActivityIndicatorView. -- 菊花
//    MBProgressHUDModeIndeterminate,
//    /// A round, pie-chart like, progress view. -- 进度
//    MBProgressHUDModeDeterminate,
//    /// Horizontal progress bar. -- 水平进度
//    MBProgressHUDModeDeterminateHorizontalBar,
//    /// Ring-shaped progress view. -- 进度
//    MBProgressHUDModeAnnularDeterminate,
//    /// Shows a custom view. -- 自定义
//    MBProgressHUDModeCustomView,
//    /// Shows only labels. -- 文本
//    MBProgressHUDModeText
//};
// 其余类型 mode message inWindow aTimer canCancel
+ (void)showHudWithsHUDMode:(MBProgressHUDMode)mode message:(NSString *)message inWindow:(BOOL)inWindow timer:(int)aTimer;
+ (void)showHudWithsHUDMode:(MBProgressHUDMode)mode message:(NSString *)message inWindow:(BOOL)inWindow timer:(int)aTimer canCancel:(BOOL)canCancel;


+ (void)hideHUD;

@end

NS_ASSUME_NONNULL_END
